export default {
    routes: [
        {
            path: '/',
            name: 'Main',
            component: require('@/modules/main').default,
            children: [
                {
                    path: 'category',
                    name: 'Category',
                    component: require('@/modules/category').default
                },
                {
                    path: 'posts',
                    name: 'Posts',
                    component: require('@/modules/posts').default
                },
                {
                    path: 'posts/edit/:id',
                    name: 'PostsEdit',
                    component: require('@/modules/posts/edit').default
                }
            ]
        },
        {
            path: '/login',
            name: 'Login',
            component: require('@/modules/login').default
        }
    ]
};
